package com.bosssoft.permission.centre.dao.mapper;



import com.bosssoft.permission.centre.entity.Company;
import com.bosssoft.permission.centre.pojo.query.CompanyQuery;
import com.sd365.common.core.common.dao.CommonMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CompanyMapper extends CommonMapper<Company> {
    /**
     * 通用查询带分页
     * @param companyQuery
     * @return
     */
    List<Company> commonQuery(CompanyQuery companyQuery);

    int insertCompany(Company company);

    int updateCompany(Company company);

    Company selectById(Long id);
}
